package com.example.springlogbacksample

import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController
import lombok.extern.slf4j.Slf4j

@Slf4j
@RequestMapping
@RestController
class CarController {

    @RequestMapping(value = arrayOf("hello"))
    fun hello(): String {
        return "world"
    }
}